<?php if (!defined('THINK_PATH')) exit(); /*a:1:{s:61:"E:\wamp64\www\xinyuan/application/index\view\index\index.html";i:1522391499;}*/ ?>
<!DOCTYPE html>
<html lang="zh">
<head>
    <meta charset="UTF-8">
    <title>鑫源东恒</title>
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
    <link href="__JS__/bootstrap/css/bootstrap.min.css" rel="stylesheet">
    <link href="__JS__/swiper-4.1.6/css/swiper.min.css" rel="stylesheet">
    <link href="__JS__/font-awesome.min.css" rel="stylesheet">
    <style>
        *{
            padding: 0;
            margin: 0;
        }
        ul{
            list-style: none;
        }
        .navbar1{
            width: 220px;
            height: 220px;
            /*line-height: 220px;*/
            border-radius: 50%;
            background: #0075a9;
            margin: 179px auto 0 auto;
            position: relative;
            cursor: pointer;
            text-align: center;
            font-size: 1.75em;
            font-weight: bold;
            color: white;
            transition: 0.24s 0.2s;
        }
        .navbar1:hover{
            /*background: rgba(255, 255, 255, 0.75);*/
        }
        .navbar1 .menu{
            list-style: none;
            padding: 0;
            margin: 0;
            position: absolute;
            top: -110px;
            left: -110px;
            border: 220px solid transparent;
            cursor: default;
            border-radius: 50%;
            /*transform: scale(1);*/
            transition: transform 1.4s 0.07s;
            z-index: -1;
        }
        .closer{
            transition: transform 0.4s 0.08s, z-index   0s  0.5s;
            transform: scale(0);
            z-index: 1;
        }
        /*.navbar:hover .menu{*/
            /*transition: transform 0.4s 0.08s, z-index   0s  0.5s;*/
            /*transform: scale(1);*/
            /*z-index: 1;*/
        /*}*/
        .navbar1 .menu li{
            position: absolute;
            top: -200px;
            left: -200px;
            transform-origin: 200px 200px;
            /*transition: all 0.5s 0.1s;*/
        }
        .navbar1:hover .menu li{
            /*transition: all 0.6s;*/
        }
        .navbar1 .menu li a{
            width: 110px;
            height: 110px;
            line-height: 110px;
            border-radius: 50%;
            background:  white;
            border: 2px solid #0075a9;
            position: absolute;
            font-size: 60%;
            color: #99b977;
            /*transition: 0.6s;*/
        }
        /*改造部分*/
        .inner{
            width: 98px;
            height: 98px;
            position: absolute;
            margin: auto;
            left: 0;
            right: 0;
            top: 0;
            bottom: 0;
            background:#0075a9;
            border-radius: 100%;
            /*line-height: 98px;*/
        }
        .ni1{
            height: 12px;
            width: 12px;
            position: absolute;
            border-radius: 50%;
            bottom: 0;
            border: 3px solid white;
            left: 72px;
            /*margin: 5px;*/
            background: #0075a9;
            transition: all ease 1s;
            z-index: 5;
        }
        .ni2{
            height: 12px;
            width: 12px;
            position: absolute;
            border-radius: 50%;
            top: 0;
            border: 3px solid white;
            right: 72px;
            /*margin: 5px;*/
            background: #0075a9;
            transition: all ease 1s;
            z-index: 5;
        }
        .rotate{
            position: absolute;
            width: 100%;
            height: 100%;
            animation:rond 3s infinite linear;
            -webkit-animation:rond 3s infinite linear;
            z-index: 1;
        }
        @keyframes rond {
            0% {transform : rotate(0deg);}
            100% {transform : rotate(360deg);}
        }

        .blue-round{
            width: 79px;
            height: 79px;
            border-radius: 100%;
            background:#0075a9;
            position: absolute;
            color: white;
            font-size: 0.6em;
            line-height: 79px;
            transition: all ease 1s;
        }
        .blue-round:nth-child(1){
            left: -202px;
            top: -121px;
        }
        .blue-round:nth-child(2){
            left: 354px;
            top: -121px;
        }
        .yellow-round{
            width: 48px;
            height: 48px;
            line-height: 48px;
            background: #d2a100;
            font-size: 0.6em;
            color: white;
            position: absolute;
            border-radius: 100%;
            transition: all ease 1s;
        }
        .yellow-round:nth-child(3){
            left: -274px;
            top: -7px;
        }
        .yellow-round:nth-child(4){
            left: 437px;
            top: -7px;
        }
        .yellow-round:nth-child(5){
            left: -71px;
            top: 180px;
        }
        .yellow-round:nth-child(6){
            left: 235px;
            top: 180px;
        }
        .rotate-icon{
            width: 40px;
            height: 40px;
            /*background: red;*/
            margin:15px auto ;
        }
        .rotate-text{
            line-height: 0;
            color: white;
        }

        /*头部banner*/
        .header{
            width: 100%;
            height: 560px;
        }
        .swiper-container{
            height: 100%;
        }
        .style1{
            width: 100%;
            position: absolute;
            border-radius: 0;
            background:#006491;
            color: white;
            z-index: 2;
        }
        .navbar-right>li>a{
            color: white;
        }
        .navbar-right>li>a:hover{
            background: none;
        }
        .navbar-right>li>a:focus{
            background: none;
        }
        .navbar-brand{
            padding: 0;
        }
        .left-triangle{
            height: 0;
            width: 0;
            float: left;
            border-top: 47px solid transparent;
            border-right: 28px solid #006491;
            border-bottom: 47px solid transparent;
        }
        .center-triangle{
            height: 94px;
            width: 102px;
            float: left;
            background:#006491;
            position: relative;
        }
        .right-triangle{
            height: 0;
            width: 0;
            float: left;
            border-top: 47px solid transparent;
            border-left: 28px solid #006491;
            border-bottom: 47px solid transparent;
        }
        .center-triangle>img{
            position: absolute;
            margin: auto;
            top: 0;
            bottom: 0;
            left: 0;
            right: 0;
        }
        .swiper-pagination-bullet-active{
            background: white;
        }





        .borrow{
            width: 100%;
            text-align: center;
            height: 74px;
            line-height: 74px;
            font-size: 1.7em;
            position: relative;
        }
        .borrow-line{
            height: 3px;
            width: 84px;
            background: #006491;
            position: absolute;
            margin: auto;
            left: 0;
            right: 0;
            bottom: 0;
        }
        .borrow-border{
            border-bottom: 1px solid #dcdcdc;
        }
        .borrow-round{
            height: 100%;
            width: 100%;
            background: #dee7eb;
            position: absolute;
            z-index: -1;
            /*background: red;*/
        }
        .borrow-round-logo{
            margin-top: 50px;
        }
        .borrow-round-text{
            margin-top:40px;
            font-size: 0.8em;
        }
        .advantage{
            height: 470px;
        }
        .advantage-title{
            display: block;
            text-align: center;
            color: white;
            margin-top: 38px;
            padding-bottom: 10px;
            font-size: 1.7em;
        }
        .advantage-title-border{
            width: 83px;
            height: 4px;
            background: white;
            margin: auto;
        }
        .advantage-list{
            display: inline-block;
            margin-top: 127px;
            text-align: center;
        }
        .advantage-hexagon{
            width: 96px;
            margin:0 43px;
            float: left;
        }
        .hexagon{
            width: 96px;
            height: 56px;
            background: rgba(255,255,255,0.8);
            position: relative;
            transition: all ease 1s;
            /*float: left;*/
        }
        .advantage-hexagon:nth-child(even){
            margin-top:47px;
        }
        .hexagon:before {
            content: "";
            position: absolute;
            top: -28px;
            left: 0;
            width: 0;
            height: 0;
            border-left: 48px solid transparent;
            border-right: 48px solid transparent;
            border-bottom: 28px solid rgba(255,255,255,0.8);
        }
        .hexagon:after {
            content: "";
            position: absolute;
            bottom: -28px;
            left: 0;
            width: 0;
            height: 0;
            border-left: 48px solid transparent;
            border-right: 48px solid transparent;
            border-top: 28px solid  rgba(255,255,255,0.8);
        }
        .hexagon1 {
            position: relative;
            z-index: 1;
            top:3px;
            margin: auto;
            width: 82px;
            height: 49px;
            background:white;
            transition: all ease 1s;
        }
        .hexagon1:before {
            content: "";
            position: absolute;
            top: -25px;
            left: 0;
            width: 0;
            height: 0;
            border-left: 41px solid transparent;
            border-right: 41px solid transparent;
            border-bottom: 25px solid  white;
        }
        .hexagon1:after {
            content: "";
            position: absolute;
            bottom: -25px;
            left: 0;
            width: 0;
            height: 0;
            border-left: 41px solid transparent;
            border-right: 41px solid transparent;
            border-top: 25px solid  white;
        }
        .hexagon-title{
            margin-top: 35px;
            color: white;
        }
        .hexagon-text{
            color: white;
            margin-top: 5px;
        }
        .case{
            display: inline-block;
            margin-top: 72px;
            width: 100%;
            background: #f0f0f0;
        }
        .case-img{
            height:394px;
        }
        .case-box{
            height: 100%;
            padding-top:40px;
        }
        .case-box-title{
            margin-top: 12px;
            text-align: center;
            font-size: 1.4em;
            font-weight: 800;
        }
        .case-box-line{
            width: 30px;
            height: 5px;
            margin: auto;
            background:#0075a9;
        }
        .case-box-logo{
            margin: auto;
            text-align: center;
        }
        .case-box-line{
            margin: 7px auto 23px auto;
        }
        .case-box-text{
            padding: 0 47px;
        }
        .abt-img{
            height: 438px;
            background: url(__IMG__/banner5.png) no-repeat center center;
            background-size: cover;
        }
        .bottom{
            height:300px;
            background: black;
        }
        .abt-title{
            margin:73px auto 16px auto;
            color: white;
            font-size: 1.8em;
        }
        .abt-title-line{
            width: 83px;
            height: 4px;
            background: white;
            margin:0 auto 43px auto;
        }
        .abt-text{
            color: white;
        }
        .abt-icon{
            color: white;
            margin: 45px auto 0 auto;
        }
        @media screen and (max-width: 991px){
            .style1 .container{
                width: 100%;
            }
            .navbar-nav>li>a{
              padding: 15px 10px;
            }
        }
        @media screen and (max-width: 991px) and (min-width: 768px){
            .header{
               height:300px;
            }
            .advantage-hexagon{
                margin:0 20px
            }
            .case-box{
                padding-top:20px ;
            }
            .case-box-text{
                padding: 0 0 0 15px;
            }
        }
        .navbar-toggle{
            border: 1px solid white;
        }
        .icon-bar{
           background: white;
        }
        .case-img:nth-child(even){
            box-shadow: 32px 26px 0 #82acbf;
        }
        .case-img:nth-child(odd){
            box-shadow: -32px 26px 0 #82acbf;
        }
    </style>
</head>
<body>
    <div class="header">
        <nav class="navbar style1">
            <div class="container">
                <!-- Brand and toggle get grouped for better mobile display -->
                <div class="navbar-header">
                    <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1" aria-expanded="false">
                        <span class="sr-only">Toggle navigation</span>
                        <span class="icon-bar"></span>
                        <span class="icon-bar"></span>
                        <span class="icon-bar"></span>
                    </button>
                    <div class="navbar-brand">
                        <div class="left-triangle"></div>
                        <div class="center-triangle"><img src="__IMG__/logo.png"></div>
                        <div class="right-triangle"></div>
                    </div>
                </div>
                <div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
                    <ul class="nav navbar-nav navbar-right">
                        <?php if(is_array($menuList) || $menuList instanceof \think\Collection || $menuList instanceof \think\Paginator): $i = 0; $__LIST__ = $menuList;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$v): $mod = ($i % 2 );++$i;?>
                            <li><a href="#"><?php echo $v['title']; ?></a></li>
                        <?php endforeach; endif; else: echo "" ;endif; ?>
                        <li><a href="#"><img src="__IMG__/icon3.png" width="20"> <?php echo $map['mobile']; ?></a></li>
                        <li><a href="#"><img src="__IMG__/icon2.png" width="20"> <?php echo $map['QQ']; ?></a></li>
                    </ul>
                </div>
            </div><!-- /.container-fluid -->
        </nav>
        <div class="swiper-container">
            <div class="swiper-wrapper">
                <?php if(is_array($banner) || $banner instanceof \think\Collection || $banner instanceof \think\Paginator): $i = 0; $__LIST__ = $banner;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$v): $mod = ($i % 2 );++$i;?>
                    <div class="swiper-slide banner_img" style="background: url(<?php echo $v['thumb']; ?>) no-repeat center center;background-size: cover"></div>
                <?php endforeach; endif; else: echo "" ;endif; ?>
            </div>
            <div class="swiper-pagination"></div>
        </div>
    </div>
    <div class="container-fluid borrow-border">
        <div class="borrow">
            <div>我要借钱</div>
            <div class="borrow-line"></div>
        </div>
    </div>
    <div class="container-fluid" style=" height: 440px;">
        <div class="row">
            <div class="borrow-round"></div>
        </div>
        <div class="row">
            <div class="col-md-12">
                <div class="navbar1">
                    <ul>
                        <?php if(is_array($special) || $special instanceof \think\Collection || $special instanceof \think\Paginator): $k = 0; $__LIST__ = $special;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$v): $mod = ($k % 2 );++$k;if($k < 3): ?>
                                 <li class="blue-round round-show"><?php echo $v['title']; ?></li>
                            <?php else: ?>
                                <li class="yellow-round round-show"><?php echo $v['title']; ?></li>
                            <?php endif; endforeach; endif; else: echo "" ;endif; ?>
                    </ul>
                    <img class="borrow-round-logo" src="__IMG__/logo.png" width="158">
                    <div class="borrow-round-text">这里总有你想要的</div>
                    <ul class="menu">
                        <?php if(is_array($product) || $product instanceof \think\Collection || $product instanceof \think\Paginator): $i = 0; $__LIST__ = $product;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$v): $mod = ($i % 2 );++$i;?>
                        <li><a href="#" class=""><div class="rotate"><div class="ni1"></div><div class="ni2"></div></div><div class="inner"><div class="rotate-icon"><img src="<?php echo $v['tuumb']; ?>" alt="" width="100%"></div><div class="rotate-text"><?php echo $v['title']; ?></div></div></a></li>
                        <?php endforeach; endif; else: echo "" ;endif; ?>
                    </ul>
                </div>
            </div>
        </div>
    </div>
    <div class="container-fluid advantage" style="background: url(__IMG__/banner4.png) no-repeat center center;background-size: cover">
        <div class="container text-center">
            <div class="advantage-title">产品优势</div>
            <div class="advantage-title-border"></div>
            <div class="advantage-list">
                <?php if(is_array($advantage) || $advantage instanceof \think\Collection || $advantage instanceof \think\Paginator): $i = 0; $__LIST__ = $advantage;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$v): $mod = ($i % 2 );++$i;?>
                <div class="advantage-hexagon">
                    <div class="hexagon"><div class="hexagon1"><img src="<?php echo $v['thumb']; ?>" width="49" height="49"></div></div>
                    <div class="hexagon-title"><?php echo $v['title']; ?></div>
                    <div class="hexagon-text"><?php echo $v['contents']; ?></div>
                </div>
                <?php endforeach; endif; else: echo "" ;endif; ?>
            </div>
           </div>
        </div>
    </div>
    <div class="container-fluid borrow-border" style="background: white">
        <div class="borrow">
            <div>成功案例</div>
            <div class="borrow-line"></div>
        </div>
    </div>
    <div class="container-fluid" style="background: white">
        <div class="container" style="margin-bottom:90px;background: white">
            <?php if(is_array($caseList) || $caseList instanceof \think\Collection || $caseList instanceof \think\Paginator): $i = 0; $__LIST__ = $caseList;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$v): $mod = ($i % 2 );++$i;if($mod == '0'): ?>
            <div class="case">
                <div class="col-sm-6 case-box">
                    <div class="case-box-logo"><img src="__IMG__/logo2.png"></div>
                    <div class="case-box-title"><?php echo $v['title']; ?></div>
                    <div class="case-box-line"></div>
                    <div class="case-box-text">
                        <?php echo $v['contents']; ?>
                    </div>
                </div>
                <div class="col-sm-6 case-img" style="background: url(<?php echo $v['thumb']; ?>) no-repeat center center;background-size: cover"></div>
            </div>
            <?php endif; if($mod == '1'): ?>
            <div class="case">
                <div class="col-sm-6 case-img" style="background: url(<?php echo $v['thumb']; ?>) no-repeat center center;background-size: cover"></div>
                <div class="col-sm-6 case-box">
                    <div class="case-box-logo"><img src="__IMG__/logo2.png"></div>
                    <div class="case-box-title"><?php echo $v['title']; ?></div>
                    <div class="case-box-line"></div>
                    <div class="case-box-text">
                        <?php echo $v['contents']; ?>
                    </div>
                </div>
            </div>
            <?php endif; endforeach; endif; else: echo "" ;endif; ?>
        </div>
    </div>
    <div class="container-fluid abt-img">
        <div class="container text-center">
            <div class="abt-title">关于我们</div>
            <div class="abt-title-line"></div>
            <div class="abt-text"><?php echo $map['sitedescription']; ?></div>
            <div class="abt-icon">
                <img src="__IMG__/icon1.png">
                <span style="margin: 0 20px 0 10px" ><?php echo $map['address']; ?></span>
                <img src="__IMG__/icon3.png">
                <span style="margin: 0 20px 0 10px" ><?php echo $map['mobile']; ?></span>
                <img src="__IMG__/icon4.png">
                <span style="margin: 0 20px 0 10px"><?php echo $map['email']; ?></span>
            </div>
        </div>
    </div>
    <div class="container-fluid bottom">

    </div>
    <script type="text/javascript" src="__JS__/jquery-3.2.1.min.js"></script>
    <script type="text/javascript" src="__JS__/bootstrap/js/bootstrap.min.js"></script>
    <script type="text/javascript" src="__JS__/swiper-4.1.6/js/swiper.min.js"></script>
    <script type="text/javascript">
    $(window).ready(function(){
        var mySwiper = new Swiper('.swiper-container',{
            autoplay: true,//可选选项，自动滑动
            pagination: {
                el: '.swiper-pagination',
            },
        })
        round();  //调用圆

        $(".navbar1").click(function(){  //点击收缩展开
//            alert(1);
            if($(this).children(".menu").hasClass("closer")){
                $(this).children(".menu").removeClass("closer");
                $(".blue-round").fadeIn();
                $(".yellow-round").fadeIn();
            }else {
                $(this).children(".menu").addClass("closer");
                $(".blue-round").fadeOut();
                $(".yellow-round").fadeOut();
            }
        });
        function round(){
            var num = $(".menu").children("li").length;
            if(num==2){
                var start = -10;
                var margin = 220/(num);
            }else {
                var start = -45;
                var margin = 180/(num-1);
            };
            var time = 0.02;
            $.each($(".menu").children("li"),function(i,v){
                $(this).css("transition-delay",''+time*(i+1)+'s');
                $(this).children("a").css("transition-delay",''+time*(i+1)*2+'s');
                console.log(start+margin*i);
                var a = start+margin*i;
                var b = 720-(start+margin*i);
                $(this).css("transform","rotate("+a+"deg)");
                $(this).children("a").css("transform","rotate("+b+"deg)");
            })
//            console.log(margin);
        }
        //        数据读取
        $.ajax({
            url:"<?php echo URL('Index/menu'); ?>",
            type:"post",
            dataType:"json",
            success:function(data){
                console.log(data);
            },error:function(data){
                console.log(data);
            }
        })
    })

    </script>
</body>
</html>